package pe.edu.upc.dsd.epica.web;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import pe.edu.upc.dsd.epica.util.Session;

public class CheckInSummaryServlet   extends HttpServlet {
	
	private static final long serialVersionUID = 1L;
    
	@Override
	protected void doGet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
				
		if(Session.ObtenerValor(req.getSession()) == null)
		{
			req.getRequestDispatcher("CerrarSesion").forward(req, resp);
			return;
		}
		
		req.getRequestDispatcher("checkinSummary.jsp").forward(req,resp);
	}

}

